//
//  OCSSOtherRequestListPage.swift
//  OCSSStoreSwift
//
//  Created by MacMiniKangChe on 2018/11/5.
//  Copyright © 2018年 MacMiniKangChe. All rights reserved.
//

import UIKit

class OCSSOtherRequestListPage: OCSSBaseRefreshViewController,UITableViewDelegate, UITableViewDataSource {

    override func viewDidLoad() {
        super.viewDidLoad()

        title = "求购列表"
        tableView.register(UINib.init(nibName: "OCSSOrderCell", bundle: nil), forCellReuseIdentifier: "OCSSOtherRequestListCell");
        tableView.rowHeight = 100;
    }
    //MARK: UITableViewDataSource && UITableViewDelegate
    func numberOfSections(in tableView: UITableView) -> Int {
        return 5;
    }
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return 1;
    }
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "OCSSOtherRequestListCell") as! OCSSOrderCell;
        cell.selectionStyle = UITableViewCellSelectionStyle.none;
        
        return cell;
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}
